Optimal. Leaf size=597 \[ \frac{1080 \sqrt{2} 3^{3/4} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{91 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{1620 \sqrt [4]{3} \sqrt{2+\sqrt{3}} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{91 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{3240 a^2 x}{91 \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}-\frac{198}{91} a x \left (a-b x^2\right )^{2/3}-\frac{3}{13} x \left (a-b x^2\right )^{2/3} \left (3 a+b x^2\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.827428, antiderivative size = 597, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25 \[ \frac{1080 \sqrt{2} 3^{3/4} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{91 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{1620 \sqrt [4]{3} \sqrt{2+\sqrt{3}} a^{7/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{91 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{3240 a^2 x}{91 \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}-\frac{198}{91} a x \left (a-b x^2\right )^{2/3}-\frac{3}{13} x \left (a-b x^2\right )^{2/3} \left (3 a+b x^2\right ) \]
Antiderivative was successfully verified.
[In] Int[(3*a + b*x^2)^2/(a - b*x^2)^(1/3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 51.6719, size = 478, normalized size = 0.8 \[ - \frac{1620 \sqrt [4]{3} a^{\frac{7}{3}} \sqrt{\frac{a^{\frac{2}{3}} + \sqrt [3]{a} \sqrt [3]{a - b x^{2}} + \left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}} \sqrt{\sqrt{3} + 2} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right ) E\left (\operatorname{asin}{\left (\frac{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}}{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}} \right )}\middle | -7 + 4 \sqrt{3}\right )}{91 b x \sqrt{- \frac{\sqrt [3]{a} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right )}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}}} + \frac{1080 \sqrt{2} \cdot 3^{\frac{3}{4}} a^{\frac{7}{3}} \sqrt{\frac{a^{\frac{2}{3}} + \sqrt [3]{a} \sqrt [3]{a - b x^{2}} + \left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right ) F\left (\operatorname{asin}{\left (\frac{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}}{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}} \right )}\middle | -7 + 4 \sqrt{3}\right )}{91 b x \sqrt{- \frac{\sqrt [3]{a} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right )}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}}} + \frac{3240 a^{2} x}{91 \left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )} - \frac{198 a x \left (a - b x^{2}\right )^{\frac{2}{3}}}{91} - \frac{3 x \left (a - b x^{2}\right )^{\frac{2}{3}} \left (3 a + b x^{2}\right )}{13} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**2+3*a)**2/(-b*x**2+a)**(1/3),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0647463, size = 77, normalized size = 0.13 \[ \frac{3 \left (360 a^2 x \sqrt [3]{1-\frac{b x^2}{a}} \, _2F_1\left (\frac{1}{3},\frac{1}{2};\frac{3}{2};\frac{b x^2}{a}\right )-87 a^2 x+80 a b x^3+7 b^2 x^5\right )}{91 \sqrt [3]{a-b x^2}} \]
Antiderivative was successfully verified.
[In] Integrate[(3*a + b*x^2)^2/(a - b*x^2)^(1/3),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.039, size = 0, normalized size = 0. \[ \int{ \left ( b{x}^{2}+3\,a \right ) ^{2}{\frac{1}{\sqrt [3]{-b{x}^{2}+a}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^2+3*a)^2/(-b*x^2+a)^(1/3),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x^{2} + 3 \, a\right )}^{2}}{{\left (-b x^{2} + a\right )}^{\frac{1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + 3*a)^2/(-b*x^2 + a)^(1/3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{b^{2} x^{4} + 6 \, a b x^{2} + 9 \, a^{2}}{{\left (-b x^{2} + a\right )}^{\frac{1}{3}}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + 3*a)^2/(-b*x^2 + a)^(1/3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 6.53675, size = 94, normalized size = 0.16 \[ 9 a^{\frac{5}{3}} x{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{3}, \frac{1}{2} \\ \frac{3}{2} \end{matrix}\middle |{\frac{b x^{2} e^{2 i \pi }}{a}} \right )} + 2 a^{\frac{2}{3}} b x^{3}{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{3}, \frac{3}{2} \\ \frac{5}{2} \end{matrix}\middle |{\frac{b x^{2} e^{2 i \pi }}{a}} \right )} + \frac{b^{2} x^{5}{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{3}, \frac{5}{2} \\ \frac{7}{2} \end{matrix}\middle |{\frac{b x^{2} e^{2 i \pi }}{a}} \right )}}{5 \sqrt [3]{a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**2+3*a)**2/(-b*x**2+a)**(1/3),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x^{2} + 3 \, a\right )}^{2}}{{\left (-b x^{2} + a\right )}^{\frac{1}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + 3*a)^2/(-b*x^2 + a)^(1/3),x, algorithm="giac")
[Out]